package com.gxwz.document.business.service;

import java.util.List;


import com.gxwz.document.business.entity.UserRole;

public interface IuserRoleService {
	
	public void saveuserRole(UserRole userRole);
	
	public List<UserRole> findAll();
	
	public List<UserRole> findByPage(int index, int pageSize);

	public int getRowNum();

	public List<UserRole> findByOder(UserRole userRole, int index, int pageSize);

	public void update(UserRole userRole);

	public void delete(int roleId);

	public void add(UserRole userRole);

	public UserRole findById(int roleId);
	
}
